package com.lc.cehui.http.request;

import com.hjq.http.config.IRequestApi;

//发布企业招聘-提交
public class SendCompanyApi implements IRequestApi {

    private int userid;
    private int type_id;
    private String title;//	职位名称
    private String province;//省
    private String city;//市
    private String district;//区
    private String work_province;//上班省市区
    private String work_city;//上班省市区
    private String work_district;//上班省市区
    private String per;//招聘人数
    private String skill;//职业技能
    private String nature;//工作性质
    private String salary;//薪资范围
    private String years;//工作年限
    private String education;//最低学历
    private String term;//	到岗期限	是	[string]
    private String welfare;//公司福利（多个用，号分开）
    private String content;//职位描述

    public SendCompanyApi setUserid(int userid) {
        this.userid = userid;
        return this;
    }

    public SendCompanyApi setType_id(int type_id) {
        this.type_id = type_id;
        return this;
    }

    public SendCompanyApi setTitle(String title) {
        this.title = title;
        return this;
    }

    public SendCompanyApi setProvince(String province) {
        this.province = province;
        return this;
    }

    public SendCompanyApi setCity(String city) {
        this.city = city;
        return this;
    }

    public SendCompanyApi setDistrict(String district) {
        this.district = district;
        return this;
    }

    public SendCompanyApi setWork_province(String work_province) {
        this.work_province = work_province;
        return this;
    }

    public SendCompanyApi setWork_city(String work_city) {
        this.work_city = work_city;
        return this;
    }

    public SendCompanyApi setWork_district(String work_district) {
        this.work_district = work_district;
        return this;
    }

    public SendCompanyApi setPer(String per) {
        this.per = per;
        return this;
    }

    public SendCompanyApi setSkill(String skill) {
        this.skill = skill;
        return this;
    }

    public SendCompanyApi setNature(String nature) {
        this.nature = nature;
        return this;
    }

    public SendCompanyApi setSalary(String salary) {
        this.salary = salary;
        return this;
    }

    public SendCompanyApi setYears(String years) {
        this.years = years;
        return this;
    }

    public SendCompanyApi setEducation(String education) {
        this.education = education;
        return this;
    }

    public SendCompanyApi setTerm(String term) {
        this.term = term;
        return this;
    }

    public SendCompanyApi setWelfare(String welfare) {
        this.welfare = welfare;
        return this;
    }

    public SendCompanyApi setContent(String content) {
        this.content = content;
        return this;
    }

    @Override
    public String getApi() {
        return "api/send_company";
    }
}
